package com.itwn.bean;

import java.io.Serializable;

/**
 * @Description:
 * @ClassName: User
 * @Author: 流光亦断
 * @Date: 2021/8/20 12:15
 * @Version: 1.0     // 版本
 */
public class User implements Serializable {
    private Integer id;
    private String userNo;
    private String userPass;
    private String userPhone;
    private String codePass;
    private String saltValue;

    public User() {
    }

    public User(Integer id, String userNo, String userPass, String userPhone, String codePass, String saltValue) {
        this.id = id;
        this.userNo = userNo;
        this.userPass = userPass;
        this.userPhone = userPhone;
        this.codePass = codePass;
        this.saltValue = saltValue;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getCodePass() {
        return codePass;
    }

    public void setCodePass(String codePass) {
        this.codePass = codePass;
    }

    public String getSaltValue() {
        return saltValue;
    }

    public void setSaltValue(String saltValue) {
        this.saltValue = saltValue;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userNo='" + userNo + '\'' +
                ", userPass='" + userPass + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", codePass='" + codePass + '\'' +
                ", saltValue='" + saltValue + '\'' +
                '}';
    }
}
